//
//  UserManager.h
//  CKApp
//
//  Created by CC on 2020/8/25.
//  Copyright © 2020 This Moment. All rights reserved.
//

#import "LcSingleton.h"
#import "NameCard.h"

@interface UserManager : LcSingleton
- (void)didLogin:(NameCard*)me clientToken:(NSString*)clientToken;
- (void)updateMe:(NameCard*)me;
- (NameCard*)me; // copyed
- (NSString*)clientToken;
- (NSString*)meId;
- (BOOL)isLogined;
- (void)didLogOut;
@end

@interface UserManagerModel : NSObject
@property(nonatomic, strong) NameCard* me;
@property(nonatomic, copy) NSString* clientToken;

- (BOOL)isLogined;

@end
